From c3049626e239e5e1186c33836838326162ed77cc Mon Sep 17 00:00:00 2001 From: Kevin Albertson Date: Mon, 19 May 2025 20:02:01 -0400 Subject: [PATCH] revise Powershell PATH setting Use capital `$Env` instead of `$env` to match conventions. Prefix `PATH` to avoid referring unintentional binaries. Prefer `\` over `/` to match conventions. Co-authored-by: Sutou Kouhei --- .github/workflows/cmake.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 52b3c40..7139f6e 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -39,7 +39,7 @@ jobs: cmake --install build --prefix tmp/install --config Debug cmake -S test/app -B test/app/build -DCMAKE_INSTALL_PREFIX=tmp/install cmake --build test/app/build - $env:PATH+=";$PWD/tmp/install/bin" + $Env:PATH = "$PWD\tmp\install\bin;$Env:PATH" test/app/build/Debug/app.exe - name: Test Consuming (Unix) if: ${{ matrix.os != 'windows-latest' }} -- 2.30.2